//
//  XRMessageBoxView.h
//  XRmenu-HD
//
//  Created by Chow Akins on 11-12-23.
//  Copyright 2011 home user. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@protocol MessageBoxViewDelegate;

@interface XRMessageBoxView : UIView {
	
    CGFloat     _windowWidth;
	
    CGFloat     _windowHeight;
	
    NSString    *_title;
	
    
	
    UILabel     *_titleLabel;
	
    UIButton    *_confirmButton;
	
    UIButton    *_cancelButton;
	
    UITextField *_inputField;
	
    
	
    id<MessageBoxViewDelegate> _delegate;
	
}

@property (nonatomic, assign) id<MessageBoxViewDelegate> delegate;

- (id) initWithTitle:(NSString*)title;

- (void) showMessageBox;

@end

@protocol MessageBoxViewDelegate <NSObject>

@optional

- (void) messageBoxView:(XRMessageBoxView*)boxView text:(NSString*)text;

@end